﻿namespace FFF.Test.Application.Repositories.CF
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Application.Services.Dto;
    using Abp.AutoMapper;
    using FFF.Test.Entity.CF;

	/// <summary>
    /// 平台业务参数设置表(树)展示时候的dto
    /// </summary>
	[AutoMap(typeof(CFBizParamSetEntity))] 
    public class CFBizParamSetResDto : EntityDto<Guid>
    {
		/// <summary>
        /// 参数的名称
        /// </summary>
		[Display(Name = "参数的名称", Description = "参数的名称")]
        [Column("BizParamSetName")]
		[StringLength(128)]
        public string BizParamSetName { get; set; }
        
		/// <summary>
        /// 参数的URL(自定义的时候填写)
        /// </summary>
		[Display(Name = "参数的URL(自定义的时候填写)", Description = "参数的URL(自定义的时候填写)")]
        [Column("BizParamURL")]
		[StringLength(512)]
        public string BizParamURL { get; set; }
        
		/// <summary>
        /// 参数的Code
        /// </summary>
		[Display(Name = "参数的Code", Description = "参数的Code")]
        [Column("BizParamCode")]
		[StringLength(128)]
        public string BizParamCode { get; set; }
        
		/// <summary>
        /// 参数类型(1,集团;2,公司)
        /// </summary>
		[Display(Name = "参数类型(1,集团;2,公司)", Description = "参数类型(1,集团;2,公司)")]
        [Column("BizParamType")]
        public CFBizParamSetBizParamTypeEnum BizParamType { get; set; }
        
		/// <summary>
        /// 字典类型对应的GUID公司的话就是公司的GUID
        /// </summary>
		[Display(Name = "字典类型对应的GUID公司的话就是公司的GUID", Description = "字典类型对应的GUID公司的话就是公司的GUID")]
        [Column("BizParamScopeGUID")]
        public Guid? BizParamScopeGUID { get; set; }
        
		/// <summary>
        /// 是否是配置类参数
        /// </summary>
		[Display(Name = "是否是配置类参数", Description = "是否是配置类参数")]
        [Column("BizParamIsConfig")]
        public byte BizParamIsConfig { get; set; }
        
		/// <summary>
        /// 是否为系统级(系统级不能删除)
        /// </summary>
		[Display(Name = "是否为系统级(系统级不能删除)", Description = "是否为系统级(系统级不能删除)")]
        [Column("BizParamIsSystem")]
        public byte BizParamIsSystem { get; set; }
        
		/// <summary>
        /// 是否禁用
        /// </summary>
		[Display(Name = "是否禁用", Description = "是否禁用")]
        [Column("BizParamIsDisable")]
        public byte BizParamIsDisable { get; set; }
        
		/// <summary>
        /// 是否是多级
        /// </summary>
		[Display(Name = "是否是多级", Description = "是否是多级")]
        [Column("BizParamIsMutilLevel")]
        public byte BizParamIsMutilLevel { get; set; }
        
		/// <summary>
        /// 树形的排序编码
        /// </summary>
		[Display(Name = "树形的排序编码", Description = "树形的排序编码")]
        [Column("OrderCode")]
		[StringLength(512)]
        public string OrderCode { get; set; }
        
		/// <summary>
        /// 对应的图标
        /// </summary>
		[Display(Name = "对应的图标", Description = "对应的图标")]
        [Column("Icon")]
		[StringLength(128)]
        public string Icon { get; set; }
        
    }
}
